# 几何计算
def get_area(a, b):
    """
    计算两点之间的面积
    """
    return a * b


def height(motion, x, y, h):
    "计算形心高度"
    return motion[0] - h - motion[1] * x + motion[2] * y
